package com.wash.shoes.request;

import com.ruoyi.common.core.domain.model.BaseModel;
import com.wash.shoes.common.enums.FactoryStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(description = "工厂状态变更请求")
public class FactoryUpdateRequest extends BaseModel {
    @ApiModelProperty(value = "工厂id")
    @NotNull(message = "工厂id不能为空")
    private Long id;

    /**
     * 工厂状态
     */
    @ApiModelProperty(value = "工厂状态")
    @NotNull(message = "工厂状态不能为空")
    private FactoryStatusEnum status;
}